import request from '@/utils/request';


//今日雨情
export function getRainToday(data) {
    return request({
        url: '/fxyjyb/riverWaterInfo/superwarning',
        method: 'get',
        params:data,

    })
}
//河道水情默认查询
export function getRiverRain(data) {
    return request({
        url: '/fxyjyb/riverWaterInfo/river',
        method: 'post',
        data:data,

    })
}
//河道水情全部站点查询
export function getAllRiverRain(data) {
    return request({
        url: '/fxyjyb/riverWaterInfo/allRiver',
        method: 'post',
        data:data,

    })
}
//水库水情默认查询
export function getReservoirRain(data) {
    return request({
        url: '/fxyjyb/reservoirWaterInfo/reservoir',
        method: 'post',
        data:data,

    })
}
//水库水情全部站点查询
export function getAllReservoirRain(data) {
    return request({
        url: '/fxyjyb/reservoirWaterInfo/allReservoir',
        method: 'post',
        data:data,

    })
}
//河道水情地图站点信息查询
export function getRiverStationInfo(data) {
    return request({
        url: '/fxyjyb/waterStation/getStation',
        method: 'get',
        params:data,
    })
}
//水库水情地图站点信息查询
export function getReservoirStationInfo(data) {
    return request({
        url: '/fxyjyb/reservoirStation/getStation',
        method: 'get',
        params:data,
    })
}
//全部河道水情地图站点信息查询
export function getAllRiverStationInfo(data) {
    return request({
        url: '/fxyjyb/waterStation/getAllStation',
        method: 'get',
        params:data,
    })
}
//全部水库水情地图站点信息查询
export function getAllReservoirStationInfo(data) {
    return request({
        url: '/fxyjyb/reservoirStation/getAllStation',
        method: 'get',
        params:data,
    })
}
//水位过程图表信息获取
export function getWaterProcess(data) {
    return request({
        url: '/fxyjyb/riverWaterInfo/waterProcess',
        method: 'get',
        params:data,
    })
}
//河道站行政区和流域获取
export function getRiverArea(data) {
    return request({
        url: '/fxyjyb/waterStation/detail',
        method: 'get',
        params:data,
    })
}
//水库站获取行政区和流域
export function getReservoirArea(data) {
    return request({
        url: '/fxyjyb/reservoirStation/detail',
        method: 'get',
        params:data,
    })
}
//河道站详情信息获取
export function getRiverDetails(data) {
    return request({
        url: '/fxyjyb/waterStation/riverDetail',
        method: 'get',
        params:data,
    })
}
//中小河流雨量实况获取
export function getRiverList(data) {
    return request({
        url: '/fxyjyb/riverRainSk/list',
        method: 'get',
        params:data,
    })
}
//中小河流数据选择
export function riverRainSelect(data) {
    return request({
        url: '/fxyjyb/riverRainSk/listForType',
        method: 'get',
        params:data,
    })
}
//山洪沟雨量实况获取
export function getGullyList(data) {
    return request({
        url: '/fxyjyb/gullyRainSk/list',
        method: 'get',
        params:data,
    })
}
//山洪沟雨量数据选择
export function gullyRainSelect(data) {
    return request({
        url: '/fxyjyb/gullyRainSk/listForType',
        method: 'get',
        params:data,
    })
}
//水库雨量实况获取
export function getReserviorList(data) {
    return request({
        url: '/fxyjyb/reservoirRainSk/list',
        method: 'get',
        params:data,
    })
}
//水库雨量数据选择
export function reservoirRainSelect(data) {
    return request({
        url: '/fxyjyb/reservoirRainSk/listForType',
        method: 'get',
        params:data,
    })
}
//隐患点雨量实况获取
export function getYhdList(data) {
    return request({
        url: '/fxyjyb/dzPotentialPointsRainSk/list',
        method: 'get',
        params:data,
    })
}
//隐患点雨量数据选择
export function dzPotentialPointsRainSelect(data) {
    return request({
        url: '/fxyjyb/dzPotentialPointsRainSk/listForType',
        method: 'get',
        params:data,
    })
}
